package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Permission;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;
import java.util.Set;

public interface IPermissionService {

    List<Permission> listAll();

    Permission getById(Long id);

    void saveOrUpdate(Permission obj);

    void delete(Long id);

    PageResult query(QueryObject qo);

    void load();

    Set<String> getExceptionsByEmpId(Long id);
}
